package com.kfm.service.impl;

import com.kfm.entity.Menu;
import com.kfm.mapper.MenuMapper;
import com.kfm.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MenuServiceIpml implements MenuService {


    @Autowired
    private MenuMapper mapper;

    @Override
    public Menu show(Integer role) {
       return mapper.selectByRole(role);
    }
}
